import Vue from 'vue'
import Router from 'vue-router'
import Nav from '@/components/nav'
// 引入公共样式
import "@/assets/public.css"

Vue.use(Router)

export default new Router({
  mode: "history",
  routes: [
    {
      path: '/',
      redirect: '/one',
    },
    {
      path: '/one',
      component: () => import('@/page/one')
    }
  ]
})
